Rollup Types (CxRollupType)

For more information about how history values are used in rollups, see History Rollups.

The CxRollupType object is used in:

Name Value Description

rollupRawData

0

Raw Data — Returns all values.

rollupCalcWeightedAvg

1

Weighted Average — Applies a percentage weight to each value used in computation of the average. Returns a value with the defined end of the interval as the timestamp (TimeStampEnd).

rollupCalcMean

2

Calculated Mean — Average of values recorded for a time period. Returns value with the defined end of the interval as the timestamp (TimeStampEnd).

rollupCalcMin

3

Calculated Minimum — The minimum value recorded for a time period. Returns value with the defined end of the interval as the timestamp (TimeStampEnd).

rollupCalcMax

4

Calculated Maximum — The maximum value recorded for a time period. Returns value with the defined end of the interval as the timestamp (TimeStampEnd).

rollupCalcDelta

5

Calculated Delta — The calculated difference between the recorded minimum and maximum values recorded for a time period. Returns value with the defined end of the interval as the timestamp (TimeStampEnd).

rollupCalcLast

6

Calculated Last — The last value recorded for a time period. Returns value with the defined end of the interval as the timestamp (TimeStampEnd).

rollupThinMedian

7

Thin Median — The center entry out of a collection of entries. When the number of entries is even, there are two center entries. In this case, the returned entry is the first entry by timestamp.

rollupThinMinMax

8

Thin Minimum and Maximum - If there are two or more entries in the time period, the minimum and maximum value entries are returned with corresponding timestamps. If there is one entry in the time period, this entry is returned (just once).

rollupThinLast

9

Thin Last - The last value recorded for a time period.